package com.yenchingcheng.entity;

/**
 * @Author Yenchingcheng
 * @Date 2023/6/29 14:34
 * @Description 形状抽象类，依赖了桥接实现接口DrawApi
 **/
public abstract class Shape {

    protected DrawAPI api;

    protected Shape(DrawAPI api) {
        this.api = api;
    }

    public abstract void draw();
}
